package com.young.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 社团表(Club)实体类
 *
 * @author bluceyoung
 * @since 2020-12-02 19:38:25
 */
public class Club implements Serializable {
    private static final long serialVersionUID = -51138055566880657L;
    
    private Long id;
    /**
    * 社团名称
    */
    private String name;
    /**
    * logo存在路径
    */
    private String logo;

    /**
    * 社团简介
    */
    private String introduce;
    /**
    * 口号
    */
    private String slogan;
    /**
    * 理念
    */
    private String purpose;
    /**
    * qq群号
    */
    private String groupCode;
    /**
    * 社团状态
    */
    private Integer status;
    /**
    * 备注
    */
    private String remark;
    /**
    * 创建日期
    */
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date createTime;
    /**
    * 社长id
    */
    private Long userId;

    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    /**
    * 修改时间
    */
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date updateTime;

    private ClubType clubType;

    public ClubType getClubType() {
        return clubType;
    }

    public void setClubType(ClubType clubType) {
        this.clubType = clubType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }


    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}